﻿namespace TfsReportRenderer
{
    using System;

    public static class Extensions
    {
        public static void MustNotBeNull<T>(this T value, string name)
            where T : class
        {
            if (value == null)
            {
                throw new ArgumentNullException(name, "This argument must not be null.");
            }
        }
    }
}
